def liwu():
    for i in range(1,5):

        #输入年龄
        age = int(input("输入你的年龄："))
        if age >= 40:
            print('卡')
            if age <= 50:
                print('一盒鸡蛋')
            elif age <= 70:
                print('两盒鸡蛋')
            else:
                print('三盒鸡蛋')
        elif age >= 20:
            print('一朵花')
        elif age >= 10:
            print('10元')
        elif age < 10 and age >= 0:
            print('铅笔')
        else:
            print('输入不合规')
        print(f'第{i}次领取')
        print('领取结束')
liwu()